Create Folder
AutomatR.DefaultActivities.FileAndFolder.CreateFolder
The "Create Folder" activity in AutomatR allows you to generate a new folder at a specified location. This activity simplifies the process of creating folders within automation workflows, enhancing file management capabilities.
Properties
Name | Description |
---|---|
Input | |
Folder Name | Provide the name of the folder you wish to create. String variables containing the folder name. |
Folder Path | Provide the full path on your local system where the folder needs to be created. Example: "D:\CreateFolder" . String variables containing the folder path. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Create Folder" activity. This can be useful for handling synchronization issues. Integer variables or arguments containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Create Folder" activity onto the workflow.
- Configure the properties by specifying the folder name and path for the new folder.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to create the specified folder.
Example: Consider an example where the "Create Folder" activity is used to generate a new folder named "NewFolder" in the "D:\CreateFolder\" directory:
Create Folder:
Display Name: "Create New Folder"
Folder Name: "NewFolder"
Folder Path: "D:\CreateFolder\"
In this example, the activity creates a new folder named "NewFolder" in the specified directory. If the folder already exists, an exception is raised. Adjust the folder name and path as needed for your workflow.